package com.qishenyuan.competition.dto;

import com.qishenyuan.competition.Bo.EducationExperience;
import com.qishenyuan.competition.Bo.InternshipExperience;
import com.qishenyuan.competition.Bo.ProjectExperience;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author Jacky
 * @since 2025-03-26
 */
@Data
public class FindJobTopicReq {

    @NotNull(message = "uid can not be empty")
    private String uid;

    @NotNull(message = "title can not be empty")
    private String title;

    @NotNull(message = "tag can not be empty")
    @Size(max = 500,message = "content is too long")
    private String content;

    @NotNull(message = "advantage can not be empty")
    private String advantage;

    @NotNull(message = "major can not be empty")
    private String major;

    @NotNull(message = "expectedJob can not be empty")
    private String expectedJob;

    private Integer expectedSalary;

    private List<ProjectExperience> projectExperiences;

    private List<EducationExperience> educationExperiences;

    private List<InternshipExperience> internshipExperiences;

    private List<String> certificates;

    @NotNull(message = "tag can not be empty")
    private Integer tag;

    @NotNull(message = "type can not be empty")
    private Integer type;
}
